package indi.caibo.service_ucenter;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

/**
 * @author Bo Cai
 * @version 1.0
 * @date 2021/12/1 14:06
 */
@ComponentScan({"indi.caibo"})
@SpringBootApplication
@MapperScan("indi.caibo.service_ucenter.mapper")
@EnableDiscoveryClient
public class UCenterApplication {
    public static void main(String[] args) {
        SpringApplication.run(UCenterApplication.class);
    }
}
